package site.marqstree.kotlin.library.good.ui.activity.goodlist.recyclerview


/*
 * 项目名: KotlinMall
 * 包名: site.marqstree.kotlin.library.good.ui.fragment.goodlist.recyclerview
 * 文件名: PageInfo
 * 创建者: marqstree
 * 创建时间: 2020/3/8 17:18
 * 描述: 页码实体类
 */
internal class PageInfo {
    var page = 0
    fun nextPage() {
        page++
    }

    fun reset() {
        page = 0
    }

    fun isFirstPage(): Boolean {
        return page == 0
    }
}